package com.neusoft.work.dto;

import java.io.Serializable;
import java.util.List;

public class BedViewDTO implements Serializable {
    private Integer id;
    private Integer floor;
    private String roomNumber;
    private String type; // 'ward' or 'utility'
    private String name; // 房间名称，对于utility类型
    private List<BedDTO> beds;
    
    public BedViewDTO() {}
    
    public BedViewDTO(Integer id, Integer floor, String roomNumber, String type, String name) {
        this.id = id;
        this.floor = floor;
        this.roomNumber = roomNumber;
        this.type = type;
        this.name = name;
    }
    
    public Integer getId() {
        return id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }
    
    public Integer getFloor() {
        return floor;
    }
    
    public void setFloor(Integer floor) {
        this.floor = floor;
    }
    
    public String getRoomNumber() {
        return roomNumber;
    }
    
    public void setRoomNumber(String roomNumber) {
        this.roomNumber = roomNumber;
    }
    
    public String getType() {
        return type;
    }
    
    public void setType(String type) {
        this.type = type;
    }
    
    public String getName() {
        return name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    public List<BedDTO> getBeds() {
        return beds;
    }
    
    public void setBeds(List<BedDTO> beds) {
        this.beds = beds;
    }
} 
